<?php
class Ynbusinesspages_Widget_FeaturedBusinessesController extends Engine_Content_Widget_Abstract {
	public function indexAction() {
		// $featureTbl = Engine_Api::_()->getDbTable('features', 'ynjobposting');
		// $featureTblName = $featureTbl -> info('name');
		// $jobTbl = Engine_Api::_()->getItemTable('ynjobposting_job');
		// $jobTblName = $jobTbl -> info('name');
		// $select = $jobTbl -> select() -> setIntegrityCheck(false)
		// -> from($jobTblName)
		// -> joinRight($featureTblName, "{$jobTblName}.job_id = {$featureTblName}.job_id")
		// -> where("{$jobTblName}.status = ?", 'published')
		// -> where("{$featureTblName}.active = ?", '1')
		// ;
		// $this -> view -> jobs = $jobs = $jobTbl -> fetchAll($select);
		// if (count($jobs) == 0){
			// return $this->setNoRender();
		// }
	}
}
